package com.inspur.edp.bef.bizentity.beenum;

/** 
 BE ʵ������
 
*/
public enum BECategory
{
	/** 
	 ��׼BE
	 
	*/
	Standard(0),
	/** 
	 DBO,����Ԫ�������õ�Ƕ��ʽBE,��Ҫ����HO����
	 
	*/
	DependentBusinessEntity(1),
	/** 
	 ����BE�Ĺ������ֳ���Ĵ󼯺�
	 
	*/
	MaxBusinessEntity(2);

	private int intValue;
	private static java.util.HashMap<Integer, BECategory> mappings;
	private synchronized static java.util.HashMap<Integer, BECategory> getMappings()
	{
		if (mappings == null)
		{
			mappings = new java.util.HashMap<Integer, BECategory>();
		}
		return mappings;
	}

	private BECategory(int value)
	{
		intValue = value;
		BECategory.getMappings().put(value, this);
	}

	public int getValue()
	{
		return intValue;
	}

	public static BECategory forValue(int value)
	{
		return getMappings().get(value);
	}
}